<?php $this->_extends('_layouts/default_layout'); ?>
<?php echo $this->_block('title')?>
<?php echo $data->title?>
-
<?php echo $config['sitename'] ?>
<?php echo $this->_endblock()?>
<?php echo $this->_block('meta')?>
<meta
	name="keywords" content="<?php echo $config['keyword'],$data->title ?>" />
<meta
	name="description"
	content="<?php echo $config['description'],$data->title ?>">
<link rel="stylesheet"
	href="<?php echo $_BASE_DIR; ?>css/shownews.css" type="text/css" />
<style type="text/css"> 
#navList a.top_banner_on4,#navList a.top_banner_on4:hover {
	background:
		url("<?php echo $_BASE_DIR; ?>images/website/image/index_top_bg.gif")
		no-repeat scroll left -50px transparent;
	color: #008EDA;
} 
</style>
<?php echo $this->_endblock();?>
<?php $this->_block('center');?>
<div id="maincon">
	<div id="path">
		您的位置：<a href="<?php echo url('default')?>">首页</a> > <a
			href="<?php echo url('shop',array('cateid'=>$data->cateid))?>"><?php echo $data->category->catename?>
		</a> >
		<?php echo $data->title?>
	</div>
	<div id="maincon_l">
		<h2 id="text-title">
		<?php echo $data->title?>
		</h2>
		<div id="text-title_2">
			发布者：<a href="#" target='_blank'><?php echo $data->author?> </a>&nbsp;&nbsp;发布时间:
			<?php echo date('Y年m月d日 H:i:s',$data->createtime)?>
		</div>
		<div id="content">
		<?php echo $data->content?>
		</div>
	</div>
	<!-- div id="maincon_r">
		<h3>相关新闻</h3>
		<ul>
		<?php foreach ($data->category->related_contents as $item):?>
			<li><a href="<?php echo url('news/view',array('id'=>$item->id))?>"><?php echo $item->title?>
			</a><span><?php echo date('d/m/Y',$item->createtime)?> </span>
			</li>
			<?php endforeach;?>
		</ul>
		<div class="clear"></div>
		<br />
	</div-->
	<div class="clear"></div>
</div>
			<?php $this->_endblock(); ?>